package com.credit.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="credit_worker_loan")
public class CreditWorkerLoan implements Serializable{
	
	private Long loanId;
	private Long userId;
	private String companyName;
	private Integer companyType;
	private Integer socialInsurance;
	private Integer socialBase;
	private Integer socialYears;
	private Integer housingFund;
	private Integer fundsAmount;
	private Integer fundsYears;
	private Integer incomeType;
	private Integer openSalary;
	private Integer cashIncome;
	
	@Id
	public Long getLoanId() {
		return loanId;
	}
	public void setLoanId(Long loanId) {
		this.loanId = loanId;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public Integer getCompanyType() {
		return companyType;
	}
	public void setCompanyType(Integer companyType) {
		this.companyType = companyType;
	}
	public Integer getSocialInsurance() {
		return socialInsurance;
	}
	public void setSocialInsurance(Integer socialInsurance) {
		this.socialInsurance = socialInsurance;
	}
	public Integer getSocialBase() {
		return socialBase;
	}
	public void setSocialBase(Integer socialBase) {
		this.socialBase = socialBase;
	}
	public Integer getSocialYears() {
		return socialYears;
	}
	public void setSocialYears(Integer socialYears) {
		this.socialYears = socialYears;
	}
	public Integer getHousingFund() {
		return housingFund;
	}
	public void setHousingFund(Integer housingFund) {
		this.housingFund = housingFund;
	}
	public Integer getFundsAmount() {
		return fundsAmount;
	}
	public void setFundsAmount(Integer fundsAmount) {
		this.fundsAmount = fundsAmount;
	}
	public Integer getFundsYears() {
		return fundsYears;
	}
	public void setFundsYears(Integer fundsYears) {
		this.fundsYears = fundsYears;
	}
	public Integer getIncomeType() {
		return incomeType;
	}
	public void setIncomeType(Integer incomeType) {
		this.incomeType = incomeType;
	}
	public Integer getOpenSalary() {
		return openSalary;
	}
	public void setOpenSalary(Integer openSalary) {
		this.openSalary = openSalary;
	}
	public Integer getCashIncome() {
		return cashIncome;
	}
	public void setCashIncome(Integer cashIncome) {
		this.cashIncome = cashIncome;
	}
	
	

}
